home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #6 / Amiga Plus CD - 1996 - No. 06.iso / pd / packer / unrar / unrar_amiga.doc next >
Text File  |  1996-07-27  |  3KB  |  83 lines

  1. This are short notes about the Amiga version of Unrar 2.01 .
  2.  
  3. (The only differences between 2.00 and 2.01 are a small (yet important) bugfix
  4. and shorter executables.)
  5.  
  6. *************
  7. * Copyright *
  8. *************
  9.  
  10. Unrar, its code and algoritm are (C)opyright by Eugene Roshal.
  11. The Amiga port is (C)opyright Andrea Vallinotto.
  12. This software is FREEWARE, but cannot be used in any commercial production or
  13. for any commercial use.
  14. In any event, nor Andrea or Eugene cannot be held resposible for damage of any
  15. kind resulting from the use of this program.
  16. Contact addresse are in Aminet readme!
  17.  
  18. ***************
  19. * Amiga Stuff *
  20. ***************
  21.  
  22. This port has basically the same functions and features of the Un*x and DOS
  23. versions, with some slight changes for Amiga-friendliness.
  24. There are two versions, one for each class of processors (68000, 68020)
  25. Just copy to a directory of your search path the one that suit you best.
  26. I didn't include the '040 specific version because on my 40Mhz '040, the 68020
  27. version runs faster!
  28.  
  29. Note for 68060 owners: '060 lacks an 64-bit integer math instruction, which is
  30. emulated via software. The emulation is usually slower than using a 32 bit only
  31. routine. I don't know if the compiled code of Unrar uses this instruction
  32. directly, and have no way to test it. I suggest you try all three versions and
  33. see which is faster.
  34.  
  35. There is not a real documentation, type "Unrar" alone for a summary of the
  36. avaible commands/switches. There's just one thing to note: since Un*x pattern
  37. matching is emulated via software, you can use '*' to select every file, but NOT
  38. Amiga-Dos '#?' .
  39.  
  40. As of this version, the only true 'tipical Amiga' features are:
  41. - correct (Amiga-Dos) return error codes.
  42. - locale-aware character conversion from lowercase to uppercase.
  43.  
  44. Note that since there isn't an Amiga version of the main program (RAR), the
  45. protection bits shown with command 'l' are those of the OS used for archiving,
  46. either MSDOS (and relatives...) or Un*x .
  47. Also, the code is indeed quite slow. This is for two main reasons:
  48. 1) the DOS version of RAR is assembler optimized, while Unrar Amiga is written
  49. in C.
  50. 2) when encrypting, RAR stores data is little-endian mode, because of its Intel 
  51. origin. The big-endian versions (like this Amiga port) have to swap each
  52. longword, resulting in a high overhead.
  53.  
  54.  
  55. ***********
  56. * History *
  57. ***********
  58.  
  59. I ported the first version of Unrar to allow a correct behaviour in AmigaDos
  60. enviromnents. Then I made a second version , with some slight
  61. modifications/fixes.
  62. When RAR 2.00 made his debut, I received many requests for a version that could
  63. handle the new packing methods. Since, contrary to Unrar 1, there were no public
  64. source code, I had to ask Andrey Spasibozhko, the conctact address of the author,
  65. to supply me for the new source. He was very kind with me, and sent me the
  66. source along, few days later, with a fix for big-endian machines.
  67.  
  68. **********
  69. * Thanks *
  70. **********
  71.  
  72. Millions of thanks to Eugene Roshal and Andrey Spasibozhko for suppling me with
  73. the sources.
  74.  
  75. Zillions of thanks to Juergen 'Socrates' Zeschky for a bugreport of version 2.00
  76.  
  77. Thanks also to:
  78. the GCC and libnix authors, for the wonderful and freeware GCC system.
  79. Sergio Lorenzetti for some help he was about to give but never did.
  80.  
  81.  
  82. Port done with Amiga GCC 2.7.0 .
  83.